<%@page import="bean.PortfolioVo"%>
<%@page import="java.util.Enumeration"%>
<%@page import="com.oreilly.servlet.multipart.DefaultFileRenamePolicy"%>
<%@page import="com.oreilly.servlet.MultipartRequest"%>
<%@page import="bean.portDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>portInput_reslut.jsp</title>
<script src='/kiSunnyShop/js/port.js'></script>
<link rel='stylesheet' href='/kiSunnyShop/css/Insertform.css' />
</head>
<%request.setCharacterEncoding("utf-8");%>
<jsp:useBean id="pvo" class="bean.PortfolioVo" scope="page"/>
<jsp:setProperty property="*" name="pvo"/>
<body>

<% 
PortfolioVo vo = new PortfolioVo(request);
portDTO dto = new portDTO();
dto.setVo2(vo);
dto.input();
if(dto.thum()){
	out.print("thum 성공");
}else{
	out.print("thum 실패");
}
%>
<div id="wrapper1" >
<form>
<ul>
<h1>입력결과</h1>

<li><label>제목:				<%=vo.getSubject()%></label></li><br/><br/>
<li><label>분 류:</label>		<%=vo.getCate()%></li><br/><br/>
<li><label>본 문:</label>		<%=vo.getContent()%></li><br/><br/>
<li><label>사 진:</label>		<%=vo.getPhoto()%></li><br/><br/>
<li><label>Thumb:</label> 	<%=vo.getThumb()%></li><<br/><br/>
<li><label>작성자:</label>	<%=vo.getWriter()%></li><br/><br/>
<li><label>비 번:</label>		<%=vo.getPwd()%></li><br/><br/>
<%-- <li><label>날 짜:</label>		<%=vo.getWdate()%></li><br/><br/> --%>
<input type='button' value='목록으로' id='btnList' class="btnStyle">
</ul>
</div>
</form>

	<form name='hidden' method='post'>
		<input type='hidden' name='nowPage' value=<%=vo.getNowPage()%>>
		<input type='hidden' name='find' value=<%=vo.getFind()%>>
	</form>

<script>ir();</script>
</body>
</html>